using DataType.CustomEnumType;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataType.Actions
{
    public struct SendMsgAction : IBasicAction
    {
        private int actor;
        private int obj_id;
        private ActionType type;
        private int receiver_id;
        private string data_send;
        private int num_packet;
        private int num_byte;
        private int loss_byte_tm;
        private int tm;

        public int Actor { get => actor; set => actor = value; }

        public int ObjID { get => obj_id; set => obj_id = value; }

        public ActionType Type { get => type; set => type = value; }

        public int ReceiverID { get => receiver_id; set => receiver_id = value; }

        public string DataSend { get => data_send; set => data_send = value; }

        public int NumPacket { get => num_packet; set => num_packet = value; }

        public int NumByte { get => num_byte; set => num_byte = value; }

        public int LossByteTm { get => loss_byte_tm; set => loss_byte_tm = value; }

        public int Tm { get => tm; set => tm = value; }
    }
}
